VERSION='0.0.1'
APPNAME='odysi'
srcdir = '.'
blddir = 'build'

def init():
    pass

def set_options(opt):
    opt.tool_options('compiler_cxx')

def configure(conf):
    conf.check_tool('compiler_cxx')
    conf.sub_config('src')

def build(bld):
    bld.add_subdirs('src')
    bld.install_files('${PREFIX}/share/odysi', 'data/*.tm')
    bld.install_files('${PREFIX}/share/odysi', 'data/*.mob')
    bld.install_files('${PREFIX}/share/odysi', 'data/*.ogg')
    bld.install_files('${PREFIX}/share/odysi', 'data/*.map')
    bld.install_files('${PREFIX}/share/odysi/images', 'data/images/*.tga')
    bld.install_files('${PREFIX}/share/odysi/scripts', 'data/scripts/*.lua')
    bld.install_files('${PREFIX}/share/odysi/gui/config', 'data/gui/config/*')
    bld.install_files('${PREFIX}/share/odysi/gui/fonts', 'data/gui/fonts/*')
    bld.install_files('${PREFIX}/share/odysi/gui/imagesets', 'data/gui/imagesets/*')
    bld.install_files('${PREFIX}/share/odysi/gui/layouts', 'data/gui/layouts/*')
    bld.install_files('${PREFIX}/share/odysi/gui/looknfeel', 'data/gui/looknfeel/*')
    bld.install_files('${PREFIX}/share/odysi/gui/schemes', 'data/gui/schemes/*')

def shutdown():
    pass
